package com.gxa.pingan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @Author ChenJin
 * @date 2021/10/28 14:55
 * Description:
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("UserInsure")
public class UserInsure implements Serializable {
    @ApiModelProperty(name = "id",value = "id",example = "用户投保编号",dataType = "Long")
    private Long id;
    @ApiModelProperty(name = "phone",value = "phone",example = "用户手机号",dataType = "String")
    private String phone;
    @ApiModelProperty(name = "insured",value = "insured",example = "被保险人",dataType = "String")
    private String insured;
    @ApiModelProperty(name = "insId",value = "insId",example = "公司编号",dataType = "Long")
    private Long insId;
    @ApiModelProperty(name = "carNum",value = "carNum",example = "车牌号",dataType = "String")
    private String carNum;
    @ApiModelProperty(name = "brandModel",value = "brandModel",example = "品牌型号",dataType = "String")
    private String brandModel;
    @ApiModelProperty(name = "engineNum",value = "engineNum",example = "发动机号",dataType = "String")
    private String engineNum;
    @ApiModelProperty(name = "insureTime",value = "insureTime",example = "投保时间",dataType = "Timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp insureTime;
    @ApiModelProperty(name = "remarks",value = "remarks",example = "备注",dataType = "String")
    private String remarks;



}
